const express = require('express')
const router = express.Router()

router.get('/login', function(req, res, next) {
  res.json({
    code: 200,
    data: [
      { name: 'user1', favs: 10 }
    ]
  })
})
module.exports = router
